// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/base.less';
import './assets/css/component.less';
import 'babel-polyfill';
import './assets/js/common' //引入通用方法
import axios from 'axios';
import './assets/css/iconFont/iconfont.css' //引入字体图标样式
import Compontents from '@/components'
import store from './vuex/store'; //引入store.js
import echarts from 'echarts';
import './axios/main'
//ue编辑器引入
// import '../static/UE/ueditor.config.js'
// import '../static/UE/ueditor.all.min.js'
// import '../static/UE/lang/zh-cn/zh-cn.js'
// import '../static/UE/ueditor.parse.min.js'
import paramsObj from './assets/js/paramsConfig.js' //请求参数配置函数引入
Vue.prototype.paramsObj = paramsObj;
Vue.use(Compontents)
Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.prototype.$http = axios;
Vue.prototype.$echarts = echarts;
Vue.config.silent = true
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {
    App,
  },
  template: '<App/>'
});

